﻿<!DOCTYPE html><html data-bs-theme="light"><head>
    <meta charset="utf-8">
      <title>Namespace CatLibrary | docfx seed website </title>
      <meta name="viewport" content="width=device-width, initial-scale=1.0">
      <meta name="title" content="Namespace CatLibrary | docfx seed website ">
      
      
      <link rel="icon" href="../favicon.ico">
      <style class="anchorjs"></style><link rel="stylesheet" href="../public/docfx.min.css">
      <link rel="stylesheet" href="../public/main.css">
      <meta name="docfx:navrel" content="../toc.html">
      <meta name="docfx:tocrel" content="toc.html">
      
      <meta name="docfx:rel" content="../">
      
      
      
      <meta name="loc:inThisArticle" content="In this article">
      <meta name="loc:searchResultsCount" content="{count} results for &quot;{query}&quot;">
      <meta name="loc:searchNoResults" content="No results for &quot;{query}&quot;">
      <meta name="loc:tocFilter" content="Filter by title">
      <meta name="loc:nextArticle" content="Next">
      <meta name="loc:prevArticle" content="Previous">
      <meta name="loc:themeLight" content="Light">
      <meta name="loc:themeDark" content="Dark">
      <meta name="loc:themeAuto" content="Auto">
      <meta name="loc:changeTheme" content="Change theme">
      <meta name="loc:copy" content="Copy">
      <meta name="loc:downloadPdf" content="Download PDF">
  <script type="module" src="./../public/docfx.min.js"></script><script>
    const theme = localStorage.getItem('theme') || 'auto'
    document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
  </script></head>

  

  


  <body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
    <header class="bg-body border-bottom">
      <nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
        <div class="container-xxl flex-nowrap">
          <a class="navbar-brand" href="../index.html">
            <img id="logo" class="svg" src="../logo.svg" alt="Seed">
            Seed
          </a>
          <button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
            <i class="bi bi-three-dots"></i>
          </button>
          <div class="collapse navbar-collapse" id="navpanel">
            <div id="navbar">
              <form class="search" role="search" id="search">
                <i class="bi bi-search"></i>
                <input class="form-control" id="search-query" type="search" placeholder="Search" autocomplete="off" aria-label="Search">
              </form>
            
    <ul class="navbar-nav"><li class="nav-item"><a class="nav-link " aria-current="false" href="http://localhost:8089/index.html">Home</a></li><li class="nav-item"><a class="nav-link " aria-current="false" href="http://localhost:8089/articles/docfx_getting_started.html">Articles</a></li>
            <li class="nav-item dropdown">
              <a href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false" class="nav-link dropdown-toggle active">
                API Documentation
              </a>
              <ul class="dropdown-menu"><li class="nav-item"><a class="nav-link active" aria-current="page" href="http://localhost:8089/api/BuildFromAssembly.html">.NET API</a></li><li class="nav-item"><a class="nav-link " aria-current="false" href="http://localhost:8089/md/BuildFromAssembly.html">.NET API (markdown)</a></li><li class="nav-item"><a class="nav-link " aria-current="false" href="http://localhost:8089/apipage/BuildFromAssembly.html">.NET API (apipage)</a></li><li class="nav-item"><a class="nav-link " aria-current="false" href="http://localhost:8089/restapi/petstore.html">REST API</a></li></ul>
            </li></ul> 
      <form class="icons">
        <a class="btn border-0" href="https://github.com/dotnet/docfx" title="GitHub"><i class="bi bi-github"></i></a><a class="btn border-0" href="https://twitter.com/" title="Twitter"><i class="bi bi-twitter"></i></a>
        
    <div class="dropdown">
      <a class="btn border-0 dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false" title="Change theme">
        <i class="bi bi-circle-half"></i>
      </a>
      <ul class="dropdown-menu dropdown-menu-end">
        <li><a class="dropdown-item" href="#"><i class="bi bi-sun"></i> Light</a></li>
        <li><a class="dropdown-item" href="#"><i class="bi bi-moon"></i> Dark</a></li>
        <li><a class="dropdown-item" href="#"><i class="bi bi-circle-half"></i> Auto</a></li>
      </ul>
    </div>
      </form></div>
          </div>
        </div>
      </nav>
    </header>

    <main class="container-xxl">
      <div class="toc-offcanvas">
        <div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
          <div class="offcanvas-header">
            <h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
            <button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
          </div>
          <div class="offcanvas-body">
            <nav class="toc" id="toc">
      
      <form class="filter">
        <i class="bi bi-filter"></i>
        <input class="form-control" type="search" autocomplete="off" value="" placeholder="Filter by title" aria-label="Filter by title">
      </form> 
      <div class="flex-fill overflow-y-auto"><ul>
        <li class=" expander ">
          <span class="expand-stub"></span>
          <a class=" nav-link " href="http://localhost:8089/api/BuildFromAssembly.html">Build<wbr>From<wbr>Assembly</a>
          <ul>
        <li class="  ">
          
          <a class=" nav-link " href="http://localhost:8089/api/BuildFromAssembly.Class1.html">Class1</a>
          
        </li>
        <li class="  ">
          
          <a class=" nav-link " href="http://localhost:8089/api/BuildFromAssembly.Issue5432.html">Issue5432</a>
          
        </li></ul>
        </li>
        <li class=" expander ">
          <span class="expand-stub"></span>
          <a class=" nav-link " href="http://localhost:8089/api/BuildFromCSharpSourceCode.html">Build<wbr>From<wbr>CSharp<wbr>Source<wbr>Code</a>
          <ul>
        <li class="  ">
          
          <a class=" nav-link " href="http://localhost:8089/api/BuildFromCSharpSourceCode.CSharp.html">CSharp</a>
          
        </li></ul>
        </li>
        <li class=" expander ">
          <span class="expand-stub"></span>
          <a class=" nav-link " href="http://localhost:8089/api/BuildFromProject.html">Build<wbr>From<wbr>Project</a>
          <ul>
        <li class=" expander ">
          <span class="expand-stub"></span>
          <a class=" nav-link " href="http://localhost:8089/api/BuildFromProject.Issue8540.html">Issue8540</a>
          <ul>
        <li class=" expander ">
          <span class="expand-stub"></span>
          <a class=" nav-link " href="http://localhost:8089/api/BuildFromProject.Issue8540.A.html">A</a>
          <ul>
        <li class="  ">
          
          <a class=" nav-link " href="http://localhost:8089/api/BuildFromProject.Issue8540.A.A.html">A</a>
          
        </li></ul>
        </li>
        <li class=" expander ">
          <span class="expand-stub"></span>
          <a class=" nav-link " href="http://localhost:8089/api/BuildFromProject.Issue8540.B.html">B</a>
          <ul>
        <li class="  ">
          
          <a class=" nav-link " href="http://localhost:8089/api/BuildFromProject.Issue8540.B.B.html">B</a>
          
        </li></ul>
        </li></ul>
        </li>
        <li class="  ">
          
          <a class=" nav-link " href="http://localhost:8089/api/BuildFromProject.Class1.html">Class1</a>
          
        </li>
        <li class="  ">
          
          <a class=" nav-link " href="http://localhost:8089/api/BuildFromProject.Class1.IIssue8948.html">Class1.<wbr>IIssue8948</a>
          
        </li>
        <li class="  ">
          
          <a class=" nav-link " href="http://localhost:8089/api/BuildFromProject.Class1.Issue8665.html">Class1.<wbr>Issue8665</a>
          
        </li>
        <li class="  ">
          
          <a class=" nav-link " href="http://localhost:8089/api/BuildFromProject.Class1.Issue8696Attribute.html">Class1.<wbr>Issue8696<wbr>Attribute</a>
          
        </li>
        <li class="  ">
          
          <a class=" nav-link " href="http://localhost:8089/api/BuildFromProject.Class1.Issue8948.html">Class1.<wbr>Issue8948</a>
          
        </li>
        <li class="  ">
          
          <a class=" nav-link " href="http://localhost:8089/api/BuildFromProject.Class1.Issue9260.html">Class1.<wbr>Issue9260</a>
          
        </li>
        <li class="  ">
          
          <a class=" nav-link " href="http://localhost:8089/api/BuildFromProject.Class1.Test-1.html">Class1.<wbr>Test&lt;<wbr>T&gt;</a>
          
        </li>
        <li class="  ">
          
          <a class=" nav-link " href="http://localhost:8089/api/BuildFromProject.Dog.html">Dog</a>
          
        </li>
        <li class="  ">
          
          <a class=" nav-link " href="http://localhost:8089/api/BuildFromProject.IInheritdoc.html">IInheritdoc</a>
          
        </li>
        <li class="  ">
          
          <a class=" nav-link " href="http://localhost:8089/api/BuildFromProject.Inheritdoc.html">Inheritdoc</a>
          
        </li>
        <li class="  ">
          
          <a class=" nav-link " href="http://localhost:8089/api/BuildFromProject.Inheritdoc.Issue6366.html">Inheritdoc.<wbr>Issue6366</a>
          
        </li>
        <li class="  ">
          
          <a class=" nav-link " href="http://localhost:8089/api/BuildFromProject.Inheritdoc.Issue6366.Class1-1.html">Inheritdoc.<wbr>Issue6366.<wbr>Class1&lt;<wbr>T&gt;</a>
          
        </li>
        <li class="  ">
          
          <a class=" nav-link " href="http://localhost:8089/api/BuildFromProject.Inheritdoc.Issue6366.Class2.html">Inheritdoc.<wbr>Issue6366.<wbr>Class2</a>
          
        </li>
        <li class="  ">
          
          <a class=" nav-link " href="http://localhost:8089/api/BuildFromProject.Inheritdoc.Issue7035.html">Inheritdoc.<wbr>Issue7035</a>
          
        </li>
        <li class="  ">
          
          <a class=" nav-link " href="http://localhost:8089/api/BuildFromProject.Inheritdoc.Issue7484.html">Inheritdoc.<wbr>Issue7484</a>
          
        </li>
        <li class="  ">
          
          <a class=" nav-link " href="http://localhost:8089/api/BuildFromProject.Inheritdoc.Issue8101.html">Inheritdoc.<wbr>Issue8101</a>
          
        </li>
        <li class="  ">
          
          <a class=" nav-link " href="http://localhost:8089/api/BuildFromProject.Inheritdoc.Issue8129.html">Inheritdoc.<wbr>Issue8129</a>
          
        </li>
        <li class="  ">
          
          <a class=" nav-link " href="http://localhost:8089/api/BuildFromProject.Issue8725.html">Issue8725</a>
          
        </li></ul>
        </li>
        <li class=" expander ">
          <span class="expand-stub"></span>
          <a class=" nav-link " href="http://localhost:8089/api/BuildFromVBSourceCode.html">Build<wbr>From<wbr>VBSource<wbr>Code</a>
          <ul>
        <li class="  ">
          
          <a class=" nav-link " href="http://localhost:8089/api/BuildFromVBSourceCode.BaseClass1.html">Base<wbr>Class1</a>
          
        </li>
        <li class="  ">
          
          <a class=" nav-link " href="http://localhost:8089/api/BuildFromVBSourceCode.Class1.html">Class1</a>
          
        </li></ul>
        </li>
        <li class=" expander expanded active ">
          <span class="expand-stub"></span>
          <a class="  " href="http://localhost:8089/api/CatLibrary.html">Cat<wbr>Library</a>
          <ul>
        <li class=" expander ">
          <span class="expand-stub"></span>
          <a class=" nav-link " href="http://localhost:8089/api/CatLibrary.Core.html">Core</a>
          <ul>
        <li class="  ">
          
          <a class=" nav-link " href="http://localhost:8089/api/CatLibrary.Core.ContainersRefType.html">Containers<wbr>Ref<wbr>Type</a>
          
        </li>
        <li class="  ">
          
          <a class=" nav-link " href="http://localhost:8089/api/CatLibrary.Core.ContainersRefType.ColorType.html">Containers<wbr>Ref<wbr>Type.<wbr>Color<wbr>Type</a>
          
        </li>
        <li class="  ">
          
          <a class=" nav-link " href="http://localhost:8089/api/CatLibrary.Core.ContainersRefType.ContainersRefTypeChild.html">Containers<wbr>Ref<wbr>Type.<wbr>Containers<wbr>Ref<wbr>Type<wbr>Child</a>
          
        </li>
        <li class="  ">
          
          <a class=" nav-link " href="http://localhost:8089/api/CatLibrary.Core.ContainersRefType.ContainersRefTypeChildInterface.html">Containers<wbr>Ref<wbr>Type.<wbr>Containers<wbr>Ref<wbr>Type<wbr>Child<wbr>Interface</a>
          
        </li>
        <li class="  ">
          
          <a class=" nav-link " href="http://localhost:8089/api/CatLibrary.Core.ContainersRefType.ContainersRefTypeDelegate.html">Containers<wbr>Ref<wbr>Type.<wbr>Containers<wbr>Ref<wbr>Type<wbr>Delegate</a>
          
        </li>
        <li class="  ">
          
          <a class=" nav-link " href="http://localhost:8089/api/CatLibrary.Core.ExplicitLayoutClass.html">Explicit<wbr>Layout<wbr>Class</a>
          
        </li>
        <li class="  ">
          
          <a class=" nav-link " href="http://localhost:8089/api/CatLibrary.Core.Issue231.html">Issue231</a>
          
        </li></ul>
        </li>
        <li class="  ">
          
          <a class=" nav-link " href="http://localhost:8089/api/CatLibrary.CatException-1.html">Cat<wbr>Exception&lt;<wbr>T&gt;</a>
          
        </li>
        <li class="  ">
          
          <a class=" nav-link " href="http://localhost:8089/api/CatLibrary.Cat-2.html">Cat&lt;<wbr>T,<wbr> K&gt;</a>
          
        </li>
        <li class="  ">
          
          <a class=" nav-link " href="http://localhost:8089/api/CatLibrary.Complex-2.html">Complex&lt;<wbr>T,<wbr> J&gt;</a>
          
        </li>
        <li class="  ">
          
          <a class=" nav-link " href="http://localhost:8089/api/CatLibrary.FakeDelegate-1.html">Fake<wbr>Delegate&lt;<wbr>T&gt;</a>
          
        </li>
        <li class="  ">
          
          <a class=" nav-link " href="http://localhost:8089/api/CatLibrary.IAnimal.html">IAnimal</a>
          
        </li>
        <li class="  ">
          
          <a class=" nav-link " href="http://localhost:8089/api/CatLibrary.ICat.html">ICat</a>
          
        </li>
        <li class="  ">
          
          <a class=" nav-link " href="http://localhost:8089/api/CatLibrary.ICatExtension.html">ICat<wbr>Extension</a>
          
        </li>
        <li class="  ">
          
          <a class=" nav-link " href="http://localhost:8089/api/CatLibrary.MRefDelegate-3.html">MRef<wbr>Delegate&lt;<wbr>K,<wbr> T,<wbr> L&gt;</a>
          
        </li>
        <li class="  ">
          
          <a class=" nav-link " href="http://localhost:8089/api/CatLibrary.MRefNormalDelegate.html">MRef<wbr>Normal<wbr>Delegate</a>
          
        </li>
        <li class="  ">
          
          <a class=" nav-link " href="http://localhost:8089/api/CatLibrary.Tom.html">Tom</a>
          
        </li>
        <li class="  ">
          
          <a class=" nav-link " href="http://localhost:8089/api/CatLibrary.TomFromBaseClass.html">Tom<wbr>From<wbr>Base<wbr>Class</a>
          
        </li></ul>
        </li>
        <li class=" expander ">
          <span class="expand-stub"></span>
          <a class=" nav-link " href="http://localhost:8089/api/MRef.Demo.Enumeration.html">MRef.<wbr>Demo.<wbr>Enumeration</a>
          <ul>
        <li class="  ">
          
          <a class=" nav-link " href="http://localhost:8089/api/MRef.Demo.Enumeration.ColorType.html">Color<wbr>Type</a>
          
        </li></ul>
        </li></ul></div>
      <div class="py-2 mb-md-4"><a class="pdf-link" href="http://localhost:8089/api/toc.pdf">Download PDF</a></div></nav>
          </div>
        </div>
      </div>

      <div class="content">
        <div class="actionbar">
          <button class="btn btn-lg border-0 d-md-none" style="margin-top: -.65em; margin-left: -.8em" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
            <i class="bi bi-list"></i>
          </button>

          <nav id="breadcrumb">
        <ol class="breadcrumb">
          <li class="breadcrumb-item"><a href="http://localhost:8089/api/BuildFromAssembly.html">.NET API</a></li>
        </ol></nav>
        </div>

        <article data-uid="CatLibrary">

  <h1 id="CatLibrary" data-uid="CatLibrary" class="text-break">Namespace Cat<wbr>Library</h1>
  <div class="markdown level0 summary"></div>
  <div class="markdown level0 conceptual"></div>
  <div class="markdown level0 remarks"></div>

    <h3 id="namespaces">Namespaces<a class="anchorjs-link " aria-label="Anchor" data-anchorjs-icon="#" href="#namespaces" style="margin-left: 0.1875em; padding-right: 0.1875em; padding-left: 0.1875em;"></a></h3>
    <dl class="jumplist">
      <dt><a class="xref" href="CatLibrary.Core.html">Cat<wbr>Library.<wbr>Core</a></dt>
      <dd></dd>
    </dl>
    <h3 id="classes">Classes<a class="anchorjs-link " aria-label="Anchor" data-anchorjs-icon="#" href="#classes" style="margin-left: 0.1875em; padding-right: 0.1875em; padding-left: 0.1875em;"></a></h3>
    <dl class="jumplist">
      <dt><a class="xref" href="CatLibrary.CatException-1.html">CatException&lt;T&gt;</a></dt>
      <dd></dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="CatLibrary.Cat-2.html">Cat&lt;T, K&gt;</a></dt>
      <dd><p>Here's main class of this <i>Demo</i>.</p>
<p>You can see mostly type of article within this class and you for more detail, please see the remarks.</p>
<p></p>
<p>this class is a template class. It has two Generic parameter. they are: <code class="typeparamref">T</code> and <code class="typeparamref">K</code>.</p>
<p>The extension method of this class can refer to <a class="xref" href="CatLibrary.ICatExtension.html">ICat<wbr>Extension</a> class</p>
</dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="CatLibrary.Complex-2.html">Complex&lt;T, J&gt;</a></dt>
      <dd></dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="CatLibrary.ICatExtension.html">ICat<wbr>Extension</a></dt>
      <dd><p>It's the class that contains ICat interface's extension method.</p>
<p>This class must be <b>public</b> and <b>static</b>.</p>
<p>Also it shouldn't be a geneic class</p>
</dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="CatLibrary.Tom.html">Tom</a></dt>
      <dd><p>Tom class is only inherit from Object. Not any member inside itself.</p>
</dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="CatLibrary.TomFromBaseClass.html">Tom<wbr>From<wbr>Base<wbr>Class</a></dt>
      <dd><p><em>TomFromBaseClass</em> inherits from @</p>
</dd>
    </dl>
    <h3 id="interfaces">Interfaces<a class="anchorjs-link " aria-label="Anchor" data-anchorjs-icon="#" href="#interfaces" style="margin-left: 0.1875em; padding-right: 0.1875em; padding-left: 0.1875em;"></a></h3>
    <dl class="jumplist">
      <dt><a class="xref" href="CatLibrary.IAnimal.html">IAnimal</a></dt>
      <dd><p>This is <b>basic</b> interface of all animal.</p>
</dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="CatLibrary.ICat.html">ICat</a></dt>
      <dd><p>Cat's interface</p>
</dd>
    </dl>
    <h3 id="delegates">Delegates<a class="anchorjs-link " aria-label="Anchor" data-anchorjs-icon="#" href="#delegates" style="margin-left: 0.1875em; padding-right: 0.1875em; padding-left: 0.1875em;"></a></h3>
    <dl class="jumplist">
      <dt><a class="xref" href="CatLibrary.FakeDelegate-1.html">FakeDelegate&lt;T&gt;</a></dt>
      <dd><p>Fake delegate</p>
</dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="CatLibrary.MRefDelegate-3.html">MRefDelegate&lt;K, T, L&gt;</a></dt>
      <dd><p>Generic delegate with many constrains.</p>
</dd>
    </dl>
    <dl class="jumplist">
      <dt><a class="xref" href="CatLibrary.MRefNormalDelegate.html">MRef<wbr>Normal<wbr>Delegate</a></dt>
      <dd><p>Delegate in the namespace</p>
</dd>
    </dl>


</article>

        <div class="contribution d-print-none">
        </div>


      </div>

      <div class="affix">
        <nav id="affix">
      <h5 class="border-bottom">In this article</h5>
      <ul><li><a class="link-secondary" href="#namespaces">Namespaces</a></li><li><a class="link-secondary" href="#classes">Classes</a></li><li><a class="link-secondary" href="#interfaces">Interfaces</a></li><li><a class="link-secondary" href="#delegates">Delegates</a></li></ul></nav>
      </div>
    </main>

    <div class="container-xxl search-results" id="search-results"></div>

    <footer class="border-top text-secondary">
      <div class="container-xxl">
        <div class="flex-fill">
          <span>Made with <a href="https://dotnet.github.io/docfx">docfx</a></span>
        </div>
      </div>
    </footer>
  

</body></html>